package com.nursinghome.enums.impl;

import com.nursinghome.enums.BaseEnum;

public enum GoodsStatusEnum implements BaseEnum {
    UP("上架", 1),
    DOWN("下架", 0);

    private final String excelValue;
    private final Integer dbValue;

    GoodsStatusEnum(String excelValue, Integer dbValue) {
        this.excelValue = excelValue;
        this.dbValue = dbValue;
    }

    @Override
    public String getExcelValue() {
        return excelValue;
    }

    @Override
    public Integer getDbValue() {
        return dbValue;
    }
}